home *** CD-ROM | disk | FTP | other *** search
/ Packard Bell - Multimedia…D & Packard Bell Library / Packard Bell Master CD.iso / bu / k / dino3d.001 / dino3d / dino3d.bat < prev    next >
DOS Batch File  |  1994-05-23  |  4KB  |  128 lines

  1. @echo off
  2. rem usage: DINO3D [-v] [-clean] [-p]
  3. rem The -p is only used within Windows to pause the end screen.
  4. rem If -v is given, user can hit Ctrl-PrintScreen to dump the screen to a file.
  5. rem If -clean is given, no TSRs will be loaded before running ka.
  6. C:
  7. cd C:\DINO3D
  8. :checkcd
  9. existdir D:\DINO3D\drivers
  10. if errorlevel 1 goto nocd
  11. goto gotcd
  12. :nocd
  13. cls
  14. echo. 
  15. echo. 
  16. echo. 
  17. echo.
  18. echo.
  19. echo                      ╔═══════════════════════════════╗
  20. echo                      ║                               ║
  21. echo                      ║ Unable to access the CD-ROM!  ║
  22. echo                      ║                               ║
  23. echo                      ╚═══════════════════════════════╝
  24. echo. 
  25. echo. 
  26. echo. 
  27. echo. 
  28. echo   Please insert the 3-D Dinosaur Adventure CD in the CD-ROM    
  29. echo   drive and press a key to continue or press [ESC] to cancel.
  30. echo. 
  31. echo. 
  32. echo. 
  33. echo. 
  34. echo. 
  35. echo. 
  36. echo. 
  37. checkesc
  38. if errorlevel 2 goto loop
  39. goto end
  40. :loop
  41. cls
  42. goto checkcd
  43. :gotcd
  44. if "%1"=="-CLEAN" goto clean
  45. if "%1"=="-clean" goto clean
  46. rem rem power.exe not detected
  47. if "%1"=="-V" goto vgacapt
  48. if "%1"=="-v" goto vgacapt
  49. moustest
  50. if errorlevel 1 goto nomouse
  51. rem no special tsrs needed
  52. rem No special sound device
  53. ka -520k kav.pgm -lC:\DINO3D -rD:\DINO3D -fC:\DINO3D
  54. if errorlevel 1 goto bottom
  55. rem don't clear the screen for errors...
  56. rem no special tsr cleanup needed
  57. goto end
  58. :nomouse
  59. mouse
  60. rem no special tsrs needed
  61. rem No special sound device
  62. ka -520k kav.pgm -lC:\DINO3D -rD:\DINO3D -fC:\DINO3D
  63. if errorlevel 1 goto bottom
  64. rem don't clear the screen for errors...
  65. rem no special tsr cleanup needed
  66. mouse /u >nul
  67. goto end
  68. :vgacapt
  69. moustest
  70. if errorlevel 1 goto vnomouse
  71. rem no special tsrs needed
  72. rem No special sound device
  73. vgacapt ka -520k kav.pgm -lC:\DINO3D -rD:\DINO3D -fC:\DINO3D
  74. if errorlevel 1 goto bottom
  75. rem don't clear the screen for errors...
  76. rem no special tsr cleanup needed
  77. goto end
  78. :vnomouse
  79. mouse
  80. rem no special tsrs needed
  81. rem No special sound device
  82. vgacapt ka -520k kav.pgm -lC:\DINO3D -rD:\DINO3D -fC:\DINO3D
  83. if errorlevel 1 goto bottom
  84. rem don't clear the screen for errors...
  85. rem no special tsr cleanup needed
  86. mouse /u >nul
  87. goto end
  88. :clean
  89. ka -520k kav.pgm -lC:\DINO3D -rD:\DINO3D -fC:\DINO3D
  90. if errorlevel 1 goto bottom
  91. rem don't clear the screen for errors...
  92. :end
  93. rem No special sound device cleanup
  94. karerun
  95. if errorlevel 99 goto last
  96. zzzkare.bat
  97. :endmsg
  98. echo.
  99. echo  ╔═════════════════════════════════════════════════════════════════════════╗
  100. echo  ║                Thank you for using 3-D Dinosaur Adventure.              ║
  101. echo  ║                                                                         ║
  102. echo  ║       Try these other great new products from Knowledge Adventure!      ║
  103. echo  ╚═════════════════════════════════════════════════════════════════════════╝
  104. echo. 
  105. echo                         ╔═══════════════════════════╗
  106. echo                         ║   3-D BODY ADVENTURE      ║
  107. echo                         ║   AMERICA ADVENTURE       ║
  108. echo                         ║   BUG ADVENTURE           ║
  109. echo                         ║   IMAX DISCOVERERS        ║
  110. echo                         ║   IMAX SPEED              ║
  111. echo                         ║   KID'S ZOO               ║
  112. echo                         ║   SCIENCE ADVENTURE II    ║
  113. echo                         ║   SPACE ADVENTURE         ║
  114. echo                         ║   UNDERSEA ADVENTURE      ║
  115. echo                         ║   ZURK'S LEARNING SAFARI  ║
  116. echo                         ╚═══════════════════════════╝
  117. echo.
  118. echo.
  119. echo                   For more information call (818) 542-4200.
  120. echo.
  121. echo.
  122. :bottom
  123. if not "%1"=="-p" goto last
  124.     echo Press a key to return to Windows...
  125.     pause > nul
  126. :last
  127. rem go straight to command line, do not pass Go, do not collect $200.
  128.